<template>
  <div id="app">
    <NavBar :is-show-back="isShowBack" :title="title" :is-show-search="isShowSearch"/>
    <router-view class="router-view"/>
  </div>
</template>
<script>
  import NavBar from "./components/NavBar";
  import { mapGetters } from "vuex";
  export default {
    components:{
      NavBar
    },
    data(){
      return{}
    },
    computed:mapGetters(['isShowBack','title','isShowSearch']),
    methods:{

    }
  }
</script>
<style lang="scss">
#app {
  font-family: 'PingFangSC-Medium','PingFang SC';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  .router-view{
    margin-top: 45px;
  }
}
</style>
